﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProcessProduct.aspx.cs" Inherits="MonkeyWarranty.Web.WarrantyTickets.ProcessProduct" %>

<%@ Import Namespace="Resources" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title>
        <%=GlobalStrings.ProcessWarranty %></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%=GlobalStrings.ProcessWarranty %></h2>
    <p>
    </p>
    <span class="failureNotification">
        <asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal>
    </span>
    <!-- Product -->
    <div>
        <fieldset class="register">
            <legend>
                <%=GlobalStrings.WarrantyProducts%></legend>
            <div style="float: left; margin-right: 50px;">
                <p>
                    <%=GlobalStrings.Code %>
                    :
                    <asp:Literal ID="ltrCode" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Name %>
                    :
                    <asp:Literal ID="ltrName" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Model %>
                    :
                    <asp:Literal ID="ltrModel" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Manufacturers %>
                    :
                    <asp:Literal ID="ltrManufacturer" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Serial %>
                    :
                    <asp:Literal ID="ltrSerial" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Quantity %>
                    :
                    <asp:Literal ID="ltrQuantity" runat="server"></asp:Literal>
                </p>
            </div>
            <div style="float: left; margin-right: 50px;">
                <p>
                    <%=GlobalStrings.WarrantyType %>
                    :
                    <asp:Literal ID="ltrWarrantyType" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.ReceivedFrom %>
                    :
                    <asp:Literal ID="ltrReceivedFromName" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.DealerEmployeeName %>
                    :
                    <asp:Literal ID="ltrDealerEmployeeName" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Customers %>
                    :
                    <asp:Literal ID="ltrCustomer" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Phone %>
                    :
                    <asp:Literal ID="ltrPhone" runat="server"></asp:Literal>
                </p>
                <p>
                    <%=GlobalStrings.Status %>
                    :
                    <asp:Literal ID="ltrStatus" runat="server"></asp:Literal>
                </p>
            </div>
            <div style="float: left;">
                <asp:Panel ID="pnlEmployee" runat="server">
                    <p>
                            <%=GlobalStrings.TechnicalEmployees %>
                            :
                            <asp:DropDownList ID="ddlEmployees" runat="server"></asp:DropDownList>
                        </p>
                </asp:Panel>
                <asp:Panel ID="pnlSupplier" runat="server">
                <p>
                    <%=GlobalStrings.AtSupplier %>
                    :
                    <asp:DropDownList ID="ddlSuppliers" runat="server"></asp:DropDownList>
                </p>
                </asp:Panel>
            <p>
                    <%=GlobalStrings.Description %>
                    :
                <asp:TextBox ID="txtDescription" TextMode="MultiLine" CssClass="textEntry description" runat="server"></asp:TextBox>
                </p>
                <p style="text-align: right;">
                    <asp:Button ID="btnUpdate" runat="server" Text="<%$ Resources:GlobalStrings, Save %>" OnClick="btnUpdate_Click" />
                </p>
            </div>
        </fieldset>
    </div>
    <p>
    </p>
    <div>
        <input id="btnCancel" type="button" value="<%=GlobalStrings.Cancel %>" class="submitButton"
            onclick="javascript:window.location='ProcessWarranty.aspx';" />
        <asp:Button ID="btnReceivedCompleted" runat="server" Text="<%$ Resources:GlobalStrings, ReceivedCompleted %>"
            CssClass="submitButton" ValidationGroup="AddNew" 
            onclick="btnReceivedCompleted_Click" />
        <asp:Button ID="btnReceivedNotCompleted" runat="server" Text="<%$ Resources:GlobalStrings, ReceivedNotCompleted %>"
            CssClass="submitButton" ValidationGroup="AddNew" 
            onclick="btnReceivedNotCompleted_Click" />
    </div>
</asp:Content>
